function addClassName(element, className) {
    const classSet = new Set(element.classList);
    classSet.add(className);
    element.className = Array.from(classSet).join(" ");
}
function removeClassName(element, className) {
    const classSet = new Set(element.classList);
    classSet.delete(className);
    element.className = Array.from(classSet).join(" ");
}
function hasClassName(element, className) {
    const classSet = new Set(element.classList);
    return classSet.has(className);
}